package com.ericsson.epc.modules.ebmAutoCollector.service.impl;


import com.ericsson.epc.modules.ebmAutoCollector.entity.Net;
import com.ericsson.epc.modules.ebmAutoCollector.mapper.NetMapper;
import com.ericsson.epc.modules.ebmAutoCollector.service.NetService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class NetServiceImpl implements NetService {

    @Resource
    private NetMapper netMapper;

    @Override
    public Net get(String id) {
        return netMapper.get(id);
    }

	@Override
	public List<Net> getListAll() {
		return netMapper.getListAll();
	}
}
